
###############################################################################
## CuteTimer
## Speed-run plugin for EventScripts Python
## Officially supported games: CS:S OB
##
## File: cutetimer.py
## Author: zoomj
## Description: main plugin file 
## Version: 0.1

from core.interface import interface
from core.admin import interface_AdminManager as admin
from core.messaging import interface_MessageManager as msg
import utils.filesystem as fs
import utils.fileparser as fp

# push again
def load():
    if interface.iface_exists('AdminManager'):
        # msg.dev(interface.iface.AdminManager.get_admin(0))
        msg.dev(fs.get_game_path())
        msg.dev(fs.get_game_path('addons'))
        msg.dev(fs.get_cutetimer_path())
        msg.dev(fs.get_cutetimer_path('core'))
        msg.dev(fs.get_extensions_path())
        msg.dev(fs.get_extensions_path('test'))
        ext = fp.SimpleTextFileParser(fs.get_cutetimer_path('extensions.txt'),
            True)
        for x in ext.read_lines():
            msg.dev(x)
	
def unload():
    pass
